package com.yanqu.road.entity.log;

import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.Date;

@FieldTypeAnnotation(tableName = "t_l_thief_reward")
public class LogThiefReward {

    @FieldTypeAnnotation
    private long userId;
    @FieldTypeAnnotation
    private int thiefType;
    @FieldTypeAnnotation
    private String thiefUid;
    @FieldTypeAnnotation
    private String reward;
    @FieldTypeAnnotation
    private Date time;

    public LogThiefReward(long userId, int thiefType, String thiefUid, String reward) {
        this.userId = userId;
        this.thiefType = thiefType;
        this.thiefUid = thiefUid;
        this.reward = reward;
        this.time = new Date();
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getThiefType() {
        return thiefType;
    }

    public void setThiefType(int thiefType) {
        this.thiefType = thiefType;
    }

    public String getThiefUid() {
        return thiefUid;
    }

    public void setThiefUid(String thiefUid) {
        this.thiefUid = thiefUid;
    }

    public String getReward() {
        return reward;
    }

    public void setReward(String reward) {
        this.reward = reward;
    }

    public Date getTime() {
        return time;
    }

    public void setTime(Date time) {
        this.time = time;
    }
}
